<?php


// $Id: cookie_user.class.php 1571 2009-01-13 13:08:33Z ogrebg $



class Cookie_User extends Tangra_Class {
	private $id;
	private $cookie;
	private $user;
	private $ts;


	public function set_id($id) {
		tangra_if_not_int_throw_e($id);
		$this->id = $id;
	}


	public final function get_id() {
		return $this->id;
	}


	public function set_cookie($cookie) {
		tangra_if_not_int_throw_e($cookie);
		$this->cookie = $cookie;
	}


	public final function get_cookie() {
		return $this->cookie;
	}


	public function set_user($user) {
		tangra_if_not_int_throw_e($user);
		$this->user = $user;
	}


	public final function get_user() {
		return $this->user;
	}


	public function set_ts($ts) {
		tangra_if_not_int_throw_e($ts);
		$this->ts = $ts;
	}


	public final function get_ts() {
		return $this->ts;
	}
}